package problemloesen.projekt01.testcases;

import static org.junit.Assert.*;

import org.junit.Test;

import problemloesen.projekt01.PointApprox;

/**
 * Test eval function for Approxi
 */
public class TestApproxiEval 
{

	@Test
	public void testApproxError() 
	{
		double a[] = 
			{
				1.0 // a0
				//-0.0, // a1
				//-3.3   // a2
			};
		
		// clac sin x / x first 
		PointApprox.calculateToApprox_for_interval(0, Math.PI, 1024);
		PointApprox point = new PointApprox();
	//	double max = point.eval(a);
	//	System.out.println(max);
		//assertEquals(max, 1, 0.1); // compare max approx-error with expected 
	}

}
